/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package amount;

import score.Score;

/**
 *
 * @author Daniel Gribel
 */
public abstract class ComposedAmount extends Amount {
    public ComposedAmount(Score score, String name) {
        super(score, name);
    }
    
    @Override
    public void checkConditions(String dataEntry) {
        super.checkConditions(dataEntry);
        consolidateScore();
    }
    
    @Override
    public abstract void checkClauses(char character);
    public abstract void consolidateScore();
    
}
